// 格式化
* {
  margin: 0;
  padding: 0;
}

::selection {
  color: $selectedColor;
  background-color: $selectedBgColor;
  text-shadow: 1px -1px #000;
}

html,
body {
  height: 100%;
}

body {
  color: $baseColor;
  background: $iceColor;
  font-family: 'PingFang SC', 'Microsoft YaHei', SimHei, Arial, SimSun;
  font-size: 14px;
  background: $bodyBgColor;

  &::-webkit-scrollbar {
    width: 0;
    height: 0;
    background-color: rgba(0, 0, 0, 0);
  }
}

button,
input,
textarea {
  border: none;
  outline: none;
  border-radius: 4px;
}

input,
textarea {
  background: #eee;
}

button,
input[type=button],
input[type=submit],
input[type=reset] {
  color: #fff;
  background: $linkHoverColor;
  &:hover {
    background: darken($linkHoverColor, 10%);
  }
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

fieldset, img {
  border: 0;
}

ul {
  word-break: break-all;
}

li {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

a {
  color: $linkColor;
  text-decoration: none;
}

a:hover {
  color: $linkHoverColor;
  text-decoration: underline;
}

.clear {
  clear: both;
}
